
using Serenity.Services;

namespace Serene.Administration
{
    public class harpergenListTablesRequest : ServiceRequest
    {
        public string ConnectionKey { get; set; }
    }

    public class harpergenConnection
    {
        public string Key { get; set; }
    }

    public class harpergenTable
    {
        public string Tablename { get; set; }
        public string Identifier { get; set; }
        public string Module { get; set; }
        public string PermissionKey { get; set; }
    }

    public class harpergenGenerateOptions
    {
        public bool Row { get; set; }
        public bool Service { get; set; }
        public bool UI { get; set; }
    }

    public class harpergenGenerateRequest : ServiceRequest
    {
        public string ConnectionKey { get; set; }
        public harpergenTable Table { get; set; }
        public harpergenGenerateOptions GenerateOptions { get; set; }
    }
}